//
//  JMCode.m
//  OpenSesame
//
//  Created by zhangjiaming on 16/1/19.
//  Copyright © 2016年 OpenSesame. All rights reserved.
//

#import "JMCode.h"

@implementation JMCode
+ (instancetype)codeWithDict:(NSDictionary *)dict {
    return [[self alloc] initWithDict:dict];
}

- (instancetype)initWithDict:(NSDictionary *)dict {
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}
@end
